package com.jsgt.greekfire.factory

import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.jsgt.greekfire.viewmodel.MarketViewModel

class MarketViewModelFactory:
    ViewModelProvider.NewInstanceFactory() {
        @Suppress("UNCHECKED_CAST")
        override fun <T : ViewModel?> create(modelClass: Class<T>): T {
            return MarketViewModel() as T
        }
}